package com.postsuperman.proxypool.service.zm;

/**
 * 芝麻代理通过控制白名单进行扣费
 *
 * @author ： postsuperman
 * Created by 9:44 on 2019/2/26.
 * <p>
 * http://webapi.http.zhimacangku.com/getip?num=1&type=2&pro=440000&city=440100&yys=0&port=1&pack=20310&ts=1&ys=1&cs=1&lb=1&sb=0&pb=45&mr=1&regions=
 */
public class ParamInfo {

    //int	是	提取IP数量
    private Integer num;

    //int	否	省份，默认全国
    private Integer pro = 440000;

    //int	否	城市，默认全国
    private Integer city = 440100;

    //int	否	全国混拨地区
    private Integer regions;

    //int	是	0:不限 100026:联通 100017:电信
    private Integer yys = 0;

    //int	是	IP协议 1:HTTP 2:SOCK5 11:HTTPS
    private Integer port = 1;

    //int	按次提取必填	稳定时长
    private Integer time;

    //int	否	数据格式：1:TXT 2:JSON 3:html
    private Integer type = 2;

    //int	否	用户套餐ID
    private Integer pack = 20310;

    //int	否	是否显示IP过期时间: 1显示 2不显示
    private Integer ts = 1;

    //int	否	是否显示IP运营商: 1显示
    private Integer ys = 1;

    //int	否	否显示位置: 1显示
    private Integer cs = 1;

    //int	否	分隔符(1:\r\n 2:/br 3:\r 4:\n 5:\t 6 :自定义)
    private Integer lb = 1;

    //int	否	去重选择（1:360天去重 2:单日去重 3:不去重）
    private Integer mr = 1;

    //int	否	端口位数（4:4位端口 5:5位端口 45:随机端口）
    private Integer pb = 45;

    //int	否
    private Integer sb = 0;

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getPro() {
        return pro;
    }

    public void setPro(Integer pro) {
        this.pro = pro;
    }

    public Integer getCity() {
        return city;
    }

    public void setCity(Integer city) {
        this.city = city;
    }

    public Integer getRegions() {
        return regions;
    }

    public void setRegions(Integer regions) {
        this.regions = regions;
    }

    public Integer getYys() {
        return yys;
    }

    public void setYys(Integer yys) {
        this.yys = yys;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public Integer getTime() {
        return time;
    }

    public void setTime(Integer time) {
        this.time = time;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getPack() {
        return pack;
    }

    public void setPack(Integer pack) {
        this.pack = pack;
    }

    public Integer getTs() {
        return ts;
    }

    public void setTs(Integer ts) {
        this.ts = ts;
    }

    public Integer getYs() {
        return ys;
    }

    public void setYs(Integer ys) {
        this.ys = ys;
    }

    public Integer getCs() {
        return cs;
    }

    public void setCs(Integer cs) {
        this.cs = cs;
    }

    public Integer getLb() {
        return lb;
    }

    public void setLb(Integer lb) {
        this.lb = lb;
    }

    public Integer getMr() {
        return mr;
    }

    public void setMr(Integer mr) {
        this.mr = mr;
    }

    public Integer getPb() {
        return pb;
    }

    public void setPb(Integer pb) {
        this.pb = pb;
    }
}
